﻿import java.util.Scanner;

public class code30{
	public static void main(String[] args){
		Scanner input = new Scanner(System.in);
		System.out.println("请输入比赛成绩(s)");
		double score = input.nextInt();
		System.out.println("请输入性别:");
		String gender  = input.next();
		if(score<=10){
		if (gender.equals("男"))
		System.out.println("进入男决赛");
	}else if(gender.equals("女")){
		System.out.println("进入女子决赛");
	}else{System.out.println("淘汰");
	}
}}